package com.zsk.shop.model.results;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @author Ys
 * @date 2022年02月26日 17:36
 */
@Data
public class OrderListResult {

    @ApiModelProperty("订单号")
    private String orderNo;

    @ApiModelProperty("商品编号")
    private String goodsNo;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("订单快照")
    private String snapshot;

    @ApiModelProperty("商品分类名称")
    private String categoryName = "无";

    @ApiModelProperty("订单金额")
    private BigDecimal amount;

    @ApiModelProperty("实付金额")
    private BigDecimal payAmount;

    @ApiModelProperty("用户")
    private String userNo;

    @ApiModelProperty("收货人")
    private String name;

    @ApiModelProperty("用户手机号")
    private String phone;

    @ApiModelProperty("收货地址")
    private String address;

    @ApiModelProperty("订单状态")
    private String orderStatus;

    @ApiModelProperty("订单状态")
    private String orderStatusStr;

    @ApiModelProperty("订单类型1 正常购买，2 报单")
    private String orderType;

    @ApiModelProperty("赠送奖励")
    private Integer returnPoints;

    @ApiModelProperty("订单创建时间")
    private Date createTime;

    @ApiModelProperty("订单支付时间")
    private Date payTime;

}
